package com.enba.mallapi.module.auth.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;

@Data
@ApiModel(value = "注册请求参数")
public class RegisterReq {

  @NotBlank(message = "用户名不能为空")
  @ApiModelProperty(value = "用户名", required = true)
  private String username;

  @NotBlank(message = "密码不能为空")
  @ApiModelProperty(value = "密码", required = true)
  private String password;
}
